package it.struts.helloworld.dao;

import it.struts.helloworld.model.Utenti;
import it.struts.helloworld.services.LoginService;
import it.struts.helloworld.services.NewUserService;

public class LoginDAO {
	
	LoginService ls = new LoginService();
	NewUserService nus = new NewUserService();
	
	public Utenti retrieveDetailsDao(String username, String password)
	{
		Utenti user = ls.retrieveDetails(username, password);
		return user;
	}
	
//	public Utenti registrazioneDao(String nome, String cognome, String data, String cf, String indirizzo, String mail, String username, String password, String tipo){
//		
//		Utenti user = nus.retrieveDetails(nome, cognome, data, cf, indirizzo, mail, username, password, tipo);
//		return user;
//		
//	}
}
